#ifndef THREADLIST_H
#define THREADLIST_H

#include <stdint.h>
#include "FreeRTOS.h"
#include "Task.h"


typedef struct List
{
	struct List* last_node;
	TaskHandle_t TaskHandle;
	struct List* next_node;
}Thread_List_t;

typedef Thread_List_t* ListHandle_t;


ListHandle_t MallocListNode(ListHandle_t last_node,ListHandle_t next_node);
void FreeListNode(ListHandle_t last_node,ListHandle_t next_node);

#endif





